<template>
  <div>
    <el-input
      placeholder="请输入空间名"
      v-model="keywords"
      @input="filterspaceTable"
      suffix-icon="el-icon-search"
      clearable
    >
    </el-input>
  </div>
</template>

<script>
export default {
  data() {
    return {
      keywords: "",
    };
  },
  methods: {
    filterspaceTable() {
      this.$emit("filterspace", this.keywords);
    },
  },
};
</script>
